#pragma once

#include "fxcc/core/graph/directX11/Win32App.h"
#include "fxcc/imgui/pch.h"
#include "imgui_impl_dx11.h"
#include "imgui_impl_win32.h"

namespace fxcc
{
	namespace imgui
	{
		namespace graph
		{
			namespace directX11 
			{

				struct FXCC_API Win32App :public fxcc::graph::directX11::Win32App
				{
					Win32App(const Desc& desc);

					bool Init() override;

					bool InitImGui();

					int Run() override;
					
					virtual void OnEdit();

					void OnDestory() override;

					LRESULT WINAPI OnWndProj(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) override;

				};
			};
		};
	};
};